Skip to content

Conversation

@ligenxxxx
Copy link
Contributor

@ligenxxxx ligenxxxx commented Nov 6, 2025

Solve the problem of Beeper not working.

Summary by CodeRabbit

  • New Features
    • Added support for HDZERO_AIO15 flight controller board with integrated STM32G47X microcontroller. Includes configuration for gyroscope and accelerometer sensors, motor outputs, LED control, multiple serial communication ports, power monitoring, and complete hardware peripheral mapping.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 6, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This PR introduces a new board configuration header for the HDZERO_AIO15 flight controller targeting the STM32G47X MCU. The header defines hardware mappings including the ICM42688P gyro/accelerometer sensor, four motor outputs, communication interfaces (UART, SPI), ADC inputs for voltage/current monitoring, LED strip support, and timer/DMA configurations.

Changes

Cohort / File(s) Change Summary
HDZERO_AIO15 Board Configuration
configs/HDZERO_AIO15/config.h
New board configuration header defining MCU target (STM32G47X), manufacturer ID (HDZO), sensor features (ICM42688P gyro/accelerometer via SPI), pin mappings for motors, UART interfaces, SPI peripherals, ADC inputs, timer channel assignments, DMA options, and system defaults including 8 MHz HSE clock and inverted beeper polarity.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Verify pin assignments are correct and match hardware schematics
  • Confirm timer-to-pin mappings align with MCU capabilities
  • Validate DMA channel assignments for ADC and timer peripherals
  • Check consistency of default meter scaling and sensor source selections

Possibly related PRs

  • add HDZERO_AIO15 #784 — Adds the identical HDZERO_AIO15 board configuration header with matching MCU, pin mappings, and sensor definitions
  • Add HGLRCH743 #872 — Introduces another new board configuration header with similar hardware-mapping macro patterns and DMA/timer configuration structures

Suggested reviewers

  • haslinghuis
  • ot0tot
  • sugaarK
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 38e51b0 and f40c2f5.

📒 Files selected for processing (1)
  • configs/HDZERO_AIO15/config.h (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ligenxxxx ligenxxxx closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants